<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>jQuery EasyUI</title>
	<link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../themes/icon.css">
	<script type="text/javascript" src="../js/jquery-1.4.4.min.js"></script>
	<script type="text/javascript" src="../js/jquery.easyui.min.js"></script>
	<script>
		$(function(){
			$('#tt').datagrid({
				url: 'ddd.json',
				title: 'DataGrid - ContextMenu',
				width: 600,
				height: 300,
				fitColumns: true,
				columns:[[
					{field:'itemid',title:'类名',width:80},
					{field:'productid',title:'作用',width:100},
					{field:'listprice',title:'路径',width:80},
					{field:'unitcost',title:'修改方法',width:80},
					{field:'attr1',title:'修改属性',width:150}
				]],
				
			});
		});
		
	
		
	</script>
</head>
<body>
	<h1>DataGrid - ContextMenu</h1>
	<p>Right click the header of datagrid to show context menu.</p>
	
	<table id="tt"></table>
	
</body>
</html>